home *** CD-ROM | disk | FTP | other *** search
/ New Masters of Flash / New Masters of Flash.iso / pc / MOVIES / 15.dir / 00112_Text_text08.txt < prev    next >
Text File  |  2000-10-01  |  487b  |  10 lines

  1. WeΓÇÖre going to give our Menu Item movie clip a drag tab, called Useless Fun Drag, so that we can move it around in the Flash movie. For this, all we need is a transparent button that has this Drag action assigned inside it (I put it on its own Drag button layer): 
  2.  
  3. on (press) {
  4.   startDrag ("");
  5. }
  6. on (release, release Outside) {
  7.   stopDrag ();
  8. }
  9.  
  10. This does nothing more complicated than tell the movie clip to drag when the user presses the button and stop when he releases.